import {CatNestRoute} from "../domain";
import MyInfoPage from "../components/pages/MyInfoPage.tsx";
import NestPage from "../components/pages/NestPage.tsx";
import ChatRoom from "../components/pages/ChatRoom.tsx";
import CreateRoom from "../components/pages/CreateRoom.tsx";


const routers: CatNestRoute[] = [
    new CatNestRoute("default", "/nest", NestPage, {
        label: '🏠首页',
        key: 'nest'
    }),
    new CatNestRoute("nest", "/my-room", NestPage, {
        label: '🐱猫窝',
        key: 'my-room',
    }),
    new CatNestRoute("room", "/chat-room", ChatRoom, {
        label: 'room',
        key: 'chat-room'
    }),
    new CatNestRoute("create", "/create", CreateRoom, {
        label: 'create',
        key: 'create'
    }),
    new CatNestRoute("my-info", "/my-info", MyInfoPage, {
        label: '🐱我',
        key: 'my-info'
    }),
]


export {
    routers
}